GetSchema Method

Summary

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in VB) from this method. Instead, if specifying a custom schema is required, apply the System.Xml.Serialization.XmlSchemaProviderAttribute to the class.

Syntax
C#
VB
C++
public XmlSchema GetSchema() 
  
Public Function GetSchema() As XmlSchema 
public: 
XmlSchema^ GetSchema();  

Return Value

An System.Xml.Schema.XmlSchema that describes the XML representation of the object that is produced by the System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter) method and consumed by the System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader) method.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly